package inabit.crisp.inference;

import inabit.base.RuleBase;
import inabit.base.WorkingMemory;
import inabit.inference.BackwardEngine;
import inabit.inference.ForwardEngine;
import inabit.inference.InferenceFactory;
/**@author Rafael Rocha*/
public class InferenceFactoryImpl implements InferenceFactory{

	@Override
	public WorkingMemory createWorkingMemory() {
		return new WorkingMemory();
	}

	@Override
	public RuleBase createRuleBase() {
		return new RuleBase();
	} 

	@Override
	public BackwardEngine createBackwardInferenceEngine() {
		return new BackwardEngineImpl();
	}
	public ForwardEngine createForwardInferenceEngine() {
		return new ForwardEngineImpl();
	}

}
